package com.healthcloud.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.healthcloud.dao.TestprojectkindDao;
import com.healthcloud.entity.TestprojectkindEntity;
import com.healthcloud.service.TestprojectkindService;
import com.healthcloud.utils.PageParam;
import org.springframework.transaction.annotation.Transactional;



@Service("testprojectkindService")
@Transactional
public class TestprojectkindServiceImpl implements TestprojectkindService {
	@Autowired
	private TestprojectkindDao testprojectkindDao;

	@Override
	public TestprojectkindEntity queryObject(String testKindCode){
		return testprojectkindDao.queryObject(testKindCode);
	}

	@Override
	public List<TestprojectkindEntity> queryList(TestprojectkindEntity bean, PageParam pageParam){
		return testprojectkindDao.queryList(bean, pageParam);
	}

	@Override
	public int queryTotal(TestprojectkindEntity bean){
		return testprojectkindDao.queryTotal(bean);
	}

	@Override
	public void save(TestprojectkindEntity testprojectkind){
		testprojectkindDao.save(testprojectkind);
	}

	@Override
	public void update(TestprojectkindEntity testprojectkind){
		testprojectkindDao.update(testprojectkind);
	}

	@Override
	public void delete(String testKindCode){
		testprojectkindDao.delete(testKindCode);
	}

	@Override
	public void deleteBatch(String[] testKindCodes){
		testprojectkindDao.deleteBatch(testKindCodes);
	}

	@Override
	public List<TestprojectkindEntity> queryAll() {
		return testprojectkindDao.queryAll();
	}

}
